home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- set the cursor of sprite the currentSpriteNum to [the number of member "hand", the number of member "handmask"]
- end
-
- on mouseDown
- set the movieRate of sprite 7 to 0
- set howlong to 660
- repeat while the stillDown
- if (the mouseH > the left of sprite 9) and (the mouseH < the right of sprite 9) then
- set the locH of sprite 10 to the mouseH
- if the locH of sprite 10 < the left of sprite 9 then
- set the locH of sprite 10 to the left of sprite 9
- end if
- if the locH of sprite 10 > the right of sprite 9 then
- set the locH of sprite 10 to the right of sprite 9
- end if
- set howfar to the locH of sprite 10 - the left of sprite 9
- set the movieTime of sprite 7 to (howlong * howfar / 300.0) - 2
- alUpdate()
- updateStage()
- end if
- end repeat
- end
-
- on mouseLeave
- set the cursor of sprite the currentSpriteNum to 0
- end
-